import { Module } from '@nestjs/common'
import { RouterService } from './router.service'
import { RouterController } from './router.controller'
import { TypeOrmModule } from '@nestjs/typeorm'
import { Router } from './entities/router.entity'
import { Role } from './entities/role.entity'

@Module({
  imports: [TypeOrmModule.forFeature([Router, Role])],
  controllers: [RouterController],
  providers: [RouterService]
})
export class RouterModule {}
